package com.tyk.bookstore.front.product.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
/**
 * @author tyk
 * @description 书籍点赞
 */
@Data
@Schema(name = "BookPraiseAddQuery", description = "书籍点赞")
public class BookPraiseAddQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "书籍ID")
    @NotNull
    @Min(value = 1)
    private Long bookId;

    @Schema(description = "会员ID")
    @NotNull
    @Min(value = 1)
    private Integer memberId;

}
